package com.meetingshow.commu.uiservice.model;

import com.meetingshow.common.base.uiservice.model.BaseQueryParasVO;
import com.meetingshow.commu.service.model.AnswerQueryParas;

public class AnswerQueryParasVO extends BaseQueryParasVO {
    /**
     * 
     */
    private static final long serialVersionUID = -605890305634566094L;
    
    private String firstResultNo;
    private String resultsPerGroup;
    private String answerId_e;
    private String questionId_e;
    private String fromUserId_e;
    private String toUserId_e;
    private String topicId_e;

    public AnswerQueryParasVO() {
    }
    
    public AnswerQueryParasVO(AnswerQueryParas answerQueryParas) {
        setFirstresultno(answerQueryParas.getFirstresultno());
        setResultspergroup(answerQueryParas.getResultspergroup());
        setAnswerId_e(answerQueryParas.getAnswerId_e());
        setQuestionId_e(answerQueryParas.getQuestionId_e());
        setFromUserId_e(answerQueryParas.getFromUserId_e());
        setToUserId_e(answerQueryParas.getToUserId_e());
        setTopicId_e(answerQueryParas.getTopicId_e());
    }
    
    public AnswerQueryParas toAnswerQueryParas() {
        AnswerQueryParas answerQueryParas = new AnswerQueryParas();
        
        answerQueryParas.setFirstresultno(getFirstresultno());
        answerQueryParas.setResultspergroup(getResultspergroup());
        answerQueryParas.setAnswerId_e(getAnswerId_e());
        answerQueryParas.setQuestionId_e(getQuestionId_e());
        answerQueryParas.setFromUserId_e(getFromUserId_e());
        answerQueryParas.setToUserId_e(getToUserId_e());
        answerQueryParas.setTopicId_e(getTopicId_e());
        
        return answerQueryParas;
    }
    
    @Override
    public String getFirstresultno() {
        return firstResultNo;
    }

    @Override
    public void setFirstresultno(String firstresultno) {
        this.firstResultNo = firstresultno;
    }

    @Override
    public String getResultspergroup() {
        return resultsPerGroup;
    }

    @Override
    public void setResultspergroup(String resultspergroup) {
        this.resultsPerGroup = resultspergroup;
    }

    public String getAnswerId_e() {
        return answerId_e;
    }

    public void setAnswerId_e(String answerId_e) {
        this.answerId_e = answerId_e;
    }

    public String getQuestionId_e() {
        return questionId_e;
    }

    public void setQuestionId_e(String questionId_e) {
        this.questionId_e = questionId_e;
    }

    public String getFromUserId_e() {
        return fromUserId_e;
    }

    public void setFromUserId_e(String fromUserId_e) {
        this.fromUserId_e = fromUserId_e;
    }

    public String getToUserId_e() {
        return toUserId_e;
    }

    public void setToUserId_e(String toUserId_e) {
        this.toUserId_e = toUserId_e;
    }

    public String getTopicId_e() {
        return topicId_e;
    }

    public void setTopicId_e(String topicId_e) {
        this.topicId_e = topicId_e;
    }
}
